// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Item {
    function getMonthName (monthNumber) {
        switch(monthNumber) {
        case 1: return "Январь"
        case 2: return "Фувраль"
        case 3: return "Март"
        case 4: return "Апрель"
        case 5: return "Май"
        case 6: return "Июнь"
        case 7: return "Июль"
        case 8: return "Август"
        case 9: return "Сентябрь"
        case 10: return "Октябрь"
        case 11: return "Ноябрь"
        case 12: return "Декабрь"
        }
        return "упс!.."
    }

    function getDayOfWeek (dayOfWeek) {
        switch(dayOfWeek) {
        case 1: return "понедельник"
        case 2: return "вторник"
        case 3: return "среда"
        case 4: return "четверг"
        case 5: return "пятница"
        case 6: return "суббота"
        case 7: return "воскресенье"
        }
        return "упс!.."
    }

    function getShortDayOfWeek (dayOfWeek) {
        switch(dayOfWeek) {
        case 1: return "пн"
        case 2: return "вт"
        case 3: return "ср"
        case 4: return "чт"
        case 5: return "пт"
        case 6: return "сб"
        case 7: return "вс"
        }
        return "упс!.."
    }
}
